package ch01.text04;

import ch01.Student;

/**
 * 其它 API
 *
 * @author V
 * @date 2025-03-18
 */
public class MainTest01 {
    public static void main(String[] args) {
        Class<?> clazz = Student.class;
        // 获取 Student 类所在的包路径
        Package p = clazz.getPackage();
        // org.ch02.entity
        System.out.println(p.getName());

    }
}
